package com.easylinkin.linkappapi.positioning.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/7/27 15:14
 */
@Data
@Accessors(chain = true)
@TableName(value = "sbdw_location_fence_record")
public class LocationFenceRecord {

    @TableId(type= IdType.AUTO)
    private Integer id;

    /**
     * 设备编码
     */
    @TableField(value = "device_code")
    private String deviceCode;

    /**
     * 电子围栏主键ID
     */
    @TableField(value = "fence_id")
    private Integer fenceId;

    /**
     * 指定坐标是否在围栏中(0:不在，1:在)
     */
    @TableField(value = "in_flag")
    private Integer inFlag;

    /**
     * 定位时间
     */
    @TableField(value = "positioning_time")
    private Date positioningTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0:未验证，1：已验证
     */
    @TableField(value = "check_status")
    private Integer checkStatus;
}
